package xu.zhi.qing.common.dto;

import org.springframework.beans.BeanUtils;

public class BaseDto <T>{

    public BaseDto() {
    }

    public T copyDto(T entity) {
        BeanUtils.copyProperties(this, entity);
        return entity;
    }
}
